﻿
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="search_property_torent.aspx.cs" Inherits="admin_search_property_torent" %>





<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="heb"  dir="rtl">
<head id="Head1" runat="server">
    <link rel="shortcut icon" type="image/jpg" href="../images/logo/logo_feas.jpg" />

<title>Real estate</title>
<script src="../js/html5.js"></script>
  <link href="js/css/bootstrap/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link href="js/css/bootstrap/bootstrap-responsive.min.css" rel="stylesheet" type="text/css" />
    <link href="js/css/supr-theme/jquery.ui.supr.css" rel="stylesheet" type="text/css"/>
    <link href="js/css/icons.css" rel="stylesheet" type="text/css" />

    <!-- Plugin stylesheets -->
    <link href="plugins/misc/qtip/jquery.qtip.css" rel="stylesheet" type="text/css" />
    <link href="../admin/plugins/forms/uniform/uniform.default.css" type="text/css" rel="stylesheet" />        
    <link href="plugins/tables/dataTables/jquery.dataTables.css" type="text/css" rel="stylesheet" />
    


    <!-- Custom stylesheets ( Put your own changes here ) -->
    <link href="css/custom.css" rel="stylesheet" type="text/css" />
<!--<script type="text/javascript" src="../js/sticky_footer.js"></script>-->
<link rel="stylesheet" type="text/css" href="../css/master.css" />
<link rel="stylesheet" type="text/css" href="../css/dropBox.css"/>
<link rel="stylesheet" type="text/css" href="../css/menu.css"/>
<link rel="stylesheet" type="text/css" href="../css/tooltip.css"/>
<link rel="stylesheet" type="text/css" href="../css/buttons.css"/>
<link rel="stylesheet" href="../css/validationEngine.jquery.css" type="text/css" media="screen" title="no title" charset="utf-8" />
 <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/base/jquery-ui.css"
        rel="stylesheet" type="text/css" /><link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/base/jquery-ui.css" rel="Stylesheet" type ="text/css" />
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {


            $.post("xfor-rent.aspx",

                 function (data, status) {

                     $('div#div1').html(data);
                 });


        });
       
    </script>

    
    <style>
    #content 
    {
        	min-height:550px;
	background-color: #FFFFFF;
	background-image: url(../images/bg/contentbg.png);
	min-width: 82%;
	margin-right:221px;
	height:100%;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CCC;
    }
    #leftcolumn {
	float: right;
	width: 220px;
	margin-left: -100%;
	min-height:550px;
	background-color: #FFF;
	background-image: url(../images/bg/sidebarbg.png);
	
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CCC;
	height:100%;
	
}
        .style1
        {
            width: 10%;
            height: 30px;
        }
        .style2
        {
            height: 30px;
        }
        
     .form_placeholder_std table td {width: 60px;
        }


td 
{vertical-align: top;
}



@media (min-width: 321px) and (max-width: 1024px) {
	
#leftcolumn {
    float: right;
    width: 150px;
    margin-left: -100%;
    min-height: 550px;
    background-color: #FFF;
    background-image: url('../images/bg/sidebarbg.png');
    border-left: 1px solid #CCC;
    height: 100%;
}

#leftcolumn_top {
    float: left;
    width: 150px;
    height: 47px;
    background-image: url('../images/bg/titalbar.png');
    background-repeat: repeat-x;
    border-bottom: 1px solid #CCC;
}
	
#nav {
    float: left;
    width: 150px;
}	
	
.form_placeholder_std input[type="text"] {
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid #B1B1B1;
    width: 70px;
    border-radius: 0.2em;
    padding: 2px;
    height: 15px;
}	
	
	.form_placeholder_std .combobox {
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid #B1B1B1;
    width: 80px;
    border-radius: 0.2em;
    padding: 2px;
    margin-bottom: 0px;
    height: 25px;
}
	
	
	select {
    width: 80px;
    background-color: #FFF;
    border: 1px solid #CCC;
}


.form_placeholder_std table td {
    width: 60px;
 
}
	
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
    font-family: Verdana,Arial,sans-serif;
    font-size: 1em;
    width: 100px;
    height: 30px;
}	
	#content {
    min-height: 550px;
    background-color: #FFF;
    background-image: url('../images/bg/contentbg.png');
    min-width: 82%;
    margin-right: 15%;
    height: 100%;
    border-left: 1px solid #CCC;
}
	
}
    </style>

<script type="text/javascript">

    $(document).ready(function () {
        $("#student_permanent_address1").hide();
        $("#DropDownList1").change(function () {

            var x = $(this).val();
            if (x == "Yes") {
                $("#student_permanent_address1").show();
            }
            else {
                $("#student_permanent_address1").hide();
            }

        });
    });
</script>
<script runat="server">
 private void OnDSUpdatedHandler(Object source, SqlDataSourceStatusEventArgs e) {
    if (e.AffectedRows > 0) {
        // Perform any additional processing,
        // such as setting a status label after the operation.
        Label1.Text = Request.LogonUserIdentity.Name +
            " changed user information successfully!";
    }
    else {
        Label1.Text = "No data updated!";
    }
 }

      
</script>

 <link href="../css/datepicker.css" rel="stylesheet" type="text/css" /></head>
 <body>
<form id="form_std_register" class="form_control" runat="server">
   

   <div id="wrapper">
    <div class="ui-widget">
<div id="header"><a href="#"> <img src="../images/logo/logo_feas.png" alt="Logo" style="margin-top:7px;margin-left:7px;float:left;"> <img src="../images/logo/logo_feas2.png" alt="Logo" class="logo"></a>
    <div id="metaphors" align="right">
     
     
         <li id="btntheme"><a href="#"><span class="theme_icon"></span>Theme<span class="arrow"></span></a></li>
      <img src="../images/face1.png" class="user_icon">
      <li id="btnUser"><a href="#">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:label ID="Label2" runat="server" ></asp:label><span class="arrow"></span></a></li>
      <li><span class="logout_icon"></span>
          <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Logout</asp:LinkButton></li>
      <div id="box3" class="outerbox">
        <div id="Div2" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">email</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">email</div>
        </div>
      </div>
      <div id="box2" class="outerbox">
        <div id="box_inner3" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">alert</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">alert</div>
        </div>
      </div>
      <div id="box1" class="outerbox">
        <div id="box_inner1" class="innerbox">
          <div class="user_option1">
            <h4 class="opt_heading">Menu Bar</h4>
            <span id="show_menu" class="style">on</span><span id="hide_menu" class="style2">off</span></div>
        </div>
      </div>
      <div id="box" class="outerbox">
        <div id="box_inner" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">Edit Profile</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">Change Password</div>
        </div>
      </div>
    </div>
    <!--End of the metaphor tag--> 
    
  </div>
  <!--End of the Header tag-->
  <div id="contentliquid">
    <div id="content">
      <div id="titalbar"> <input action="action" type="button" value="בחזרה" onclick="history.go(-1);" style="float:left; margin-left:20px; margin-top:10px; background:#093 " />
        <h1>הוספת לקוח חדש שמעוניין לשכור</h1>
        
      </div>
      <div id="content_placeholder">
      
          <div id="student_add" class="form_placeholder_std">
            <div id="student_title" class="form_title"><img src="../images/icons/user.png">
              <h2>חיפוש לקוחות</h2>
            </div>
            <table style="text-align:right">
              <tr>
              <td class="style1">סוג לקוח</td>
    <td class="style2">
 
                      <asp:DropDownList ID="DropDownList52" runat="server" style="float:right" Width="138px">
                        <asp:ListItem>בחר</asp:ListItem>
                          <asp:ListItem>אדריכל</asp:ListItem>
                          <asp:ListItem>בעל נכס</asp:ListItem>
                          <asp:ListItem>דייר</asp:ListItem>
                          <asp:ListItem>יזם</asp:ListItem>
                          <asp:ListItem>כונס נכסים</asp:ListItem>
                          <asp:ListItem>מנכ"ל</asp:ListItem>
                          <asp:ListItem>משפחה\חבר</asp:ListItem>
                          <asp:ListItem>משקיע מחו"ל</asp:ListItem>
                          <asp:ListItem>משקיע מקומי</asp:ListItem>
                          <asp:ListItem>מתווך</asp:ListItem>
                          <asp:ListItem>עורך דין</asp:ListItem>
                          <asp:ListItem>לקוח פוטנציאלי</asp:ListItem>
                          <asp:ListItem>קבוצת רכישה</asp:ListItem>
                          <asp:ListItem>קבלן</asp:ListItem>
                          <asp:ListItem>שדה למילוי עצמי</asp:ListItem>
                          
                      </asp:DropDownList>
                  </td>
                  
             <td style="padding-right:100px"> מצב נכס</td>
                <td class="style2">
                  <asp:DropDownList ID="ddlprcon" runat="server" CssClass="combobox " 
                        onChange="show_pnl()" Width="138px">
                           <asp:ListItem>בחר</asp:ListItem>
                         <asp:ListItem>חדש מקבלן</asp:ListItem>
                   <asp:ListItem>משופץ</asp:ListItem>
                    <asp:ListItem>שמור</asp:ListItem>
                   
                    <asp:ListItem>לא חשוב</asp:ListItem>
       
                  </asp:DropDownList>
                    </td>
               <td class="style2" ><asp:Button ID="Button2" runat="server" Text="הוסף" CssClass ="btn-success" 
                              onclick="Button1_Click" PostBackUrl="NewClientRent.aspx"  /></td>
              </tr>
              <tr>
              <td>סוג נכס</td>
    <td><asp:DropDownList ID="ddlptype" runat="server" 
                       CssClass="combobox" 
                     ClientIDMode="Static" style="float:right" Width="138px" >
                      <asp:ListItem>בחר</asp:ListItem>
                        <asp:ListItem>דירה</asp:ListItem>
                      <asp:ListItem>מיני פנטהאוז</asp:ListItem>
                      <asp:ListItem>דירות יוקרה</asp:ListItem>
                      <asp:ListItem>דירת גן</asp:ListItem>
                      <asp:ListItem>גג/ פנטהאוז</asp:ListItem>
                      <asp:ListItem>סטודיו</asp:ListItem>
                      <asp:ListItem>לופט</asp:ListItem>
                      <asp:ListItem>מרתף</asp:ListItem>
                      <asp:ListItem>פרטר</asp:ListItem>
                      <asp:ListItem>דופלקס</asp:ListItem>
                      <asp:ListItem>טריפלקס</asp:ListItem>
                      <asp:ListItem>פרטי/ קוטג</asp:ListItem>
                      <asp:ListItem>דו משפחתי</asp:ListItem>
                      <asp:ListItem>יחידת דיור</asp:ListItem>
                      <asp:ListItem>משק חקלאי</asp:ListItem>
                      <asp:ListItem>נחלה</asp:ListItem>
                      <asp:ListItem>משק עזר</asp:ListItem>
                      <asp:ListItem>תקופות קצרות</asp:ListItem>
                      <asp:ListItem>דירות נופש</asp:ListItem>
                      <asp:ListItem>מחסן</asp:ListItem>
                      <asp:ListItem>חניה</asp:ListItem>
                      <asp:ListItem>מבנים ניידים / קארוון</asp:ListItem>
                      <asp:ListItem>מגרשים</asp:ListItem>
                      <asp:ListItem>בניין מגורים</asp:ListItem>
                      <asp:ListItem>כללי</asp:ListItem>
                      <asp:ListItem>קבוצת רכישה</asp:ListItem>
                      <asp:ListItem>אולמות</asp:ListItem>
                      <asp:ListItem>בית מלון</asp:ListItem>
                      <asp:ListItem>בניין משרדים</asp:ListItem>
                      <asp:ListItem>חנויות</asp:ListItem>
                      <asp:ListItem>שטח מסחרי</asp:ListItem>
                      <asp:ListItem>חניון</asp:ListItem>
                      <asp:ListItem>מבני תעשיה</asp:ListItem>
                      <asp:ListItem>משרדים</asp:ListItem>
                      <asp:ListItem>עסקים למכירה</asp:ListItem>
                      <asp:ListItem>קליניקות</asp:ListItem>
                      <asp:ListItem>דמי מפתח</asp:ListItem>
                      <asp:ListItem>בתי קפה</asp:ListItem>
                      <asp:ListItem>מסעדות</asp:ListItem>
                      <asp:ListItem>ברים</asp:ListItem>
                      <asp:ListItem>מושגים-USA</asp:ListItem>
                      <asp:ListItem>Single-Famliy Home</asp:ListItem>
                      <asp:ListItem>Condo</asp:ListItem>
                      <asp:ListItem>Town-Home</asp:ListItem>
                      <asp:ListItem>Town-House</asp:ListItem>
                      <asp:ListItem>Coop</asp:ListItem>
                      <asp:ListItem>Apartment</asp:ListItem>
                      <asp:ListItem>Loft</asp:ListItem>
                      <asp:ListItem>Tic</asp:ListItem>
                      <asp:ListItem>Apt\Condo\Townhome</asp:ListItem>
                      <asp:ListItem>Mobile/manufactured</asp:ListItem>
                      <asp:ListItem>Farm/ranch</asp:ListItem>
                      <asp:ListItem>Land</asp:ListItem>
                      <asp:ListItem>Multi-famliy Home</asp:ListItem>
                      <asp:ListItem>Income\investment</asp:ListItem>
                      <asp:ListItem>Houseboat</asp:ListItem>
                      <asp:ListItem>Unspecified</asp:ListItem>
                      <asp:ListItem>Apartment Building</asp:ListItem>
                      <asp:ListItem>Condominium</asp:ListItem>
                      <asp:ListItem>Residential Building</asp:ListItem>
                      <asp:ListItem>Commercial Building</asp:ListItem>
                      <asp:ListItem>Office Building</asp:ListItem>
                      <asp:ListItem>Two-Family, Two-Family House</asp:ListItem>
                      <asp:ListItem>Duplex</asp:ListItem>
                      <asp:ListItem>Store</asp:ListItem>
                      <asp:ListItem>Branch Store</asp:ListItem>
                      <asp:ListItem>Public Utility Property</asp:ListItem>
                      <asp:ListItem>Fixtures</asp:ListItem>
                      <asp:ListItem>Lot</asp:ListItem>
                      <asp:ListItem>Apartment Hotel</asp:ListItem>
                      <asp:ListItem>Liquidation Sale, Execution Sale</asp:ListItem>
                      <asp:ListItem>Commercial Center</asp:ListItem>
                      <asp:ListItem>Cellar, Basement</asp:ListItem>
                      <asp:ListItem>Institutional Property</asp:ListItem>
                      <asp:ListItem>Income Property</asp:ListItem>
                      <asp:ListItem>Personal Property</asp:ListItem>
                      <asp:ListItem>Special Purpose Property</asp:ListItem>
                      <asp:ListItem>Farm Land, Agriculture Land</asp:ListItem>
                      <asp:ListItem>Unimproved Land</asp:ListItem>
                      <asp:ListItem>Improved Land</asp:ListItem>
                      <asp:ListItem>Public Domain Land</asp:ListItem>
                      <asp:ListItem>Vacant Land</asp:ListItem>
                      <asp:ListItem>FORCLOSURE-Deal</asp:ListItem>
                      <asp:ListItem>Short-Sale-Deal</asp:ListItem>
                      <asp:ListItem>Reo-Deal</asp:ListItem>
                      <asp:ListItem>Auction-Deal</asp:ListItem>
                      <asp:ListItem>Bulk-Deal</asp:ListItem>
                      <asp:ListItem>Note-Deal</asp:ListItem>
                      <asp:ListItem>House</asp:ListItem>
                      <asp:ListItem>Unit&amp;Apartment</asp:ListItem>
                      <asp:ListItem>Unit</asp:ListItem>
                      <asp:ListItem>Villa</asp:ListItem>
                      <asp:ListItem>Acreage</asp:ListItem>
                      <asp:ListItem>Rural</asp:ListItem>
                      <asp:ListItem>Block of units</asp:ListItem>
                      <asp:ListItem>Retirement living</asp:ListItem>
                      <asp:ListItem>Building Lot </asp:ListItem>
                      <asp:ListItem>Raw Land</asp:ListItem>
                      <asp:ListItem>Bungalow</asp:ListItem>
                      <asp:ListItem>Castle</asp:ListItem>
                      <asp:ListItem>Conch house</asp:ListItem>
                      <asp:ListItem>Mansion</asp:ListItem>
                      <asp:ListItem>apartment tower-Tower block</asp:ListItem>
                      <asp:ListItem>office tower</asp:ListItem>
                      <asp:ListItem>Custom</asp:ListItem>
		 </asp:DropDownList></td>
                  
             <td style="padding-right:100px">מעלית</td>
                <td width="80">
                    <asp:dropdownlist runat="server" ID="ddlelv" CssClass="combobox" 
                       Width="138px">
                                       <asp:ListItem>בחר</asp:ListItem>
                                             <asp:ListItem>2</asp:ListItem>
                                             <asp:ListItem>3</asp:ListItem>
                                             <asp:ListItem>כן</asp:ListItem>
                                            
                        <asp:ListItem>לא</asp:ListItem>
                        <asp:ListItem>מעלית שבת</asp:ListItem>
                       <asp:ListItem>שדה למילוי עצמי</asp:ListItem>
                     </asp:dropdownlist></td>
                  <script type="text/javascript">

                      $(document).ready(function () {
                          $("#TextBox2").hide();
                          $("#ddlac").change(function () {

                              var x = $(this).val();

                              if (x == "Custom") {
                                  $("#TextBox2").show();
                              }
                              else {
                                  $("#TextBox2").hide();
                              }

                          });
                      });
</script>
               <td style="width:60px; padding-right:90px" >&nbsp;</td>
              </tr>
              <tr>
              
                <td> 
                    &nbsp;</td>
                  <td>
                    <asp:TextBox ID="TextBox2" runat="server" placeholder="Custom Ac" Width="138px"></asp:TextBox>
                  </td>
                  <td>
                  </td>
                  <td>
                    <asp:TextBox ID="TextBox5" runat="server" placeholder="Custom Parking" Width="138px"></asp:TextBox>
                                           </td>
              </tr>
              <tr>
                <script type="text/javascript">

                    $(document).ready(function () {
                        $("#TextBox5").hide();
                        $("#ddlparkin").change(function () {

                            var x = $(this).val();

                            if (x == "Custom") {
                                $("#TextBox5").show();
                            }
                            else {
                                $("#TextBox5").hide();
                            }

                        });
                    });
</script>
		 <td >חניה<span style="color:#F00;"></span></td>
               
             <td>  
                 <asp:DropDownList ID="ddlparkin" runat="server" 
                   CssClass="combobox"  onChange="show_pnl()"
                     ClientIDMode="Static" style="float:right" Width="138px">
                  <asp:ListItem>בחר</asp:ListItem>
                    <asp:ListItem>כן</asp:ListItem>
                   <asp:ListItem>לא</asp:ListItem>
                   <asp:ListItem>כפולה</asp:ListItem>
                   <asp:ListItem>חניה בטאבו</asp:ListItem>
                   <asp:ListItem>חניה משותפת</asp:ListItem>
                    <asp:ListItem> שדה למילוי עצמי</asp:ListItem>
                 
                
		 </asp:DropDownList>
                    <asp:TextBox ID="TextBox6" runat="server" placeholder="Custom Elevator" Width="138px"></asp:TextBox>
                                           </td>
                 
                <td style="padding-right:100px"> 
                    תקציב</td>
                    
               <td width="80"><asp:TextBox ID="TextBox9" runat="server" 
                       CssClass="validate[optional,custom[onlyNumber]]" ClientIDMode="Static" Width="50px" ></asp:TextBox> 
                    
                     <asp:DropDownList ID="DropDownList33" runat="server" Width="70px">
                         <asp:ListItem>בחר</asp:ListItem>
                        <asp:ListItem>₪</asp:ListItem>
                        <asp:ListItem>$</asp:ListItem>
                        <asp:ListItem>€</asp:ListItem>
                        <asp:ListItem>£</asp:ListItem>
                    </asp:DropDownList></td>
                <td>&nbsp;</td>
                       <script type="text/javascript">

                           $(document).ready(function () {
                               $("#TextBox6").hide();
                               $("#ddlelv").change(function () {

                                   var x = $(this).val();

                                   if (x == "Custom") {
                                       $("#TextBox6").show();
                                   }
                                   else {
                                       $("#TextBox6").hide();
                                   }

                               });
                           });
                           
</script></tr>

                     
                  
                
                    
       
                  <tr>
           <td style="display:none" > 
               <asp:Label ID="Label6" runat="server" Text="Label"></asp:Label></td>
                <td style="display:none"><asp:DropDownList ID="DropDownList13" runat="server" 
                        CssClass ="combobox " style="float:right" Width="138px">
                    <asp:ListItem>בחר</asp:ListItem>
                  <asp:ListItem Value="כן "></asp:ListItem>
                    <asp:ListItem Value="לא"></asp:ListItem>

                </asp:DropDownList></td>
                     
                 <td  >שם</td>
                <td width="80">
                          <asp:TextBox ID="txtname" runat="server" value=""></asp:TextBox>
                                           </td>
                      
                     
                       <td style="padding-right:100px">&nbsp;</td>
               
                    
                      </tr>
                    
                      

                     
                     
                      
                         
                      <tr>
                          <td >טלפון </td>
               
             <td>  
                          <asp:TextBox ID="txtphone" runat="server" style="float:right" Width="138px"></asp:TextBox></td>
                          
             <td style="padding-right:100px">
                 <asp:Label ID="Label8" runat="server" Text="שם סוכן" Width="70px"></asp:Label></td>
                  <td width="80">
 
                          <asp:DropDownList ID="DropDownList15" runat="server" 
                     style="float:left;margin-top:0px;"   CssClass="combobox" 
                     ClientIDMode="Static" DataSourceID="SqlDataSource3" DataTextField="f_name" 
                        DataValueField="f_name" AppendDataBoundItems="true" Width="138px" >
                  <asp:ListItem Text="בחר" Value="" />   
                   </asp:DropDownList> 
                    <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:real_estateConnectionString %>" 
                        SelectCommand="SELECT [f_name] FROM [agent_add]"></asp:SqlDataSource>
                          </td>
                   <script type="text/javascript">

                       $(document).ready(function () {
                           $("#TextBox7").hide();
                           $("#DropDownList52").change(function () {

                               var x = $(this).val();

                               if (x == "Custom") {
                                   $("#TextBox7").show();
                               }
                               else {
                                   $("#TextBox7").hide();
                               }

                           });
                       });
</script>
<tr>
  <td>  
                          &nbsp;</td>
                          
             <td>  
                          <asp:TextBox ID="TextBox7" runat="server"  placeholder="Custom Type" 
                              Width="138px"></asp:TextBox></tr>
                  <td >מזגן</td>
                <td><asp:DropDownList ID="ddlac" runat="server" 
                   CssClass="combobox" 
                     ClientIDMode="Static" Width="138px" >
                     <asp:ListItem>בחר</asp:ListItem>
               <asp:ListItem>בחר</asp:ListItem>
                     <asp:ListItem>כן</asp:ListItem>
                    <asp:ListItem>לא</asp:ListItem>
                    <asp:ListItem>מרכזי</asp:ListItem>
                    <asp:ListItem>חלון</asp:ListItem>
                    <asp:ListItem>מפוצל</asp:ListItem>
                    <asp:ListItem>הסקה</asp:ListItem>
                    <asp:ListItem>גז</asp:ListItem>
                    <asp:ListItem>יחיד</asp:ListItem>
                    <asp:ListItem>שדה למילוי עצמי</asp:ListItem>
		 </asp:DropDownList></td>
                 
                      <td style="padding-right:100px">
                          </td>
    <td>
                          &nbsp;</td>
                 
                      </tr>
<tr>
  <td> 
      <asp:Label ID="Label7" runat="server" Text="ממספר חדרים" Width="90"></asp:Label> </td>
                          
             <td colspan="3"> 
                    <asp:TextBox ID="TextBox3" runat="server" CssClass="validate[optional,custom[onlyNumber]]" 
                        ClientIDMode="Static" class="validate[optional]" Width="50px" ></asp:TextBox>&nbsp;עד מספר חדרים 
                    <asp:TextBox ID="TextBox34" runat="server" Width="50px"  
                        CssClass="validate[optional,custom[onlyNumber]]"></asp:TextBox>
                  </tr>
                 
                      </tr>
           <tr>
           <td>מקומה</td>
                <td width="280" colspan="3"> 
                    <asp:TextBox ID="TextBox4" runat="server" CssClass="validate[optional,custom[onlyNumber]]" 
                        ClientIDMode="Static" Width="50px"  ></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;עד קומה &nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:TextBox ID="TextBox30" runat="server" CssClass="validate[optional,custom[onlyNumber]]" 
                        ClientIDMode="Static" Width="50px"  ></asp:TextBox></td>
                      
                <td style="width:30px; ">&nbsp;</td>
                <td style="width:300px; "> 
                    &nbsp;</td>
                      
                        <tr>
           <td>ממחיר</td>
                <td width="280" colspan="2"> 
                    <asp:TextBox ID="TextBox8" runat="server" CssClass="validate[optional,custom[onlyNumber]]" 
                        ClientIDMode="Static" Width="50px" ></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;עד ממחיר&nbsp;&nbsp;&nbsp;
                    <asp:TextBox ID="TextBox10" runat="server" CssClass="validate[optional,custom[onlyNumber]]" 
                        ClientIDMode="Static" Width="50px" ></asp:TextBox>
                    <asp:DropDownList ID="DropDownList53" runat="server" Width="70px">
                        <asp:ListItem>בחר</asp:ListItem>
                        <asp:ListItem>₪</asp:ListItem>
                        <asp:ListItem>$</asp:ListItem>
                        <asp:ListItem>€</asp:ListItem>
                        <asp:ListItem>£</asp:ListItem>
                    </asp:DropDownList>
                            </td>
                      
                      <td width="80" >&nbsp;</td>
                <td style="width:30px; ">&nbsp;</td>
                <td style="width:300px; "> 
                    &nbsp;</td>
                      
                        <tr>
                        <td >תאריך כניסה<span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="TextBox12" runat="server" 
                        CssClass="validate[optional]" ClientIDMode="Static"  
                        Width="138px"></asp:TextBox> </td>
                       
             <td>
                 &nbsp;</td>
                       
            <td><asp:Button ID="Button1" runat="server" Text="לחפש" CssClass ="btn-success" 
                              onclick="Button1_Click" /></td>
            <td>
                      
                      </td>
                      </tr>
              </table>
              
          
          </div>
		   <div id="student_permanent_address2" class="form_placeholder_std" style="margin-top:0;border-top:none; width:100%">
             <div id="student_title3" class="form_title"><img src="../images/icons/email.png">
              <h2>תוצאות חיפוש</h2>
            </div>
            </div>
          <asp:Label ID="Label1" runat="server" Text="Label" Visible="false"></asp:Label><asp:Label ID="Label5"
                   runat="server" Text="Label" Visible="false"></asp:Label>
                 

                            <div class="box gradient" style="width:1600px">

                               

                               <input id="Button4" type="button" value="הדפס"/>               
                        <div id="divsearch"></div>
                         <div id="div1"></div>
   
          </div>
         
         <script type="text/javascript">
             var data;
             $('#Button4').click(function () {


                 document.location = 'preview2.aspx';


             });


  
    

</script>
         

         
          <div id="student_submit" class="form_placeholder_std" style="margin-top:0;border-top:none;border-bottom:none;">
            <div id="student_title4" class="form_title">
              <div style="margin-left:27px;margin-top:2px;">
                   
              </div>
            </div>
          </div>
         
      </div>
    </div>
  </div>
    

<script src="../js/jquery.validationEngine-en.js" type="text/javascript"></script>
<script src="../js/jquery.validationEngine.js" type="text/javascript"></script>
<script type="text/javascript" src="../js/utility.js"></script>
<!--<script src="../js/jquery.min.js"></script>-->
<script src="../js/bootstrap-modal.js"></script>
 <div id="leftcolumn">
 <div id="leftcolumn_top">
      <div id="addtask" class="modal hide fade in" style="display: none; ">
        <div class="modal-header"> <a class="close" data-dismiss="modal">x</a>
          <h1 style="font-size:15px;padding:7px;font-weight:bold;">Notification's</h1>
        </div>
        <div class="modal-body">
        <table id="tbl_task" class="model_popup_desgin">
  <tr>
    <td><p> You have a recent&nbsp;&nbsp&nbsp;&nbsp;update on date</p></td>
  </tr>
  <tr>
     
   
  </tr>
  <tr>
      
  </tr>
  <tr>
    <td></td>
  </tr>
</table>

          
        </div>
        <div class="modal-footer">  <p><a data-toggle="modal" href="#addtask1" class="btn btn-success" style="font-weight:bold;"><img src="../images/icons/task.png" style="margin-right:7px;" />View</a></p></div>
      </div>
       <div id="addtask1" class="modal hide fade in" style="display: none; ">
        <div class="modal-header"> <a class="close" data-dismiss="modal">x</a>
          <h1 style="font-size:15px;padding:7px;font-weight:bold;">Notification's</h1>
        </div>
        <div class="modal-body1">
        <table id="Table1" class="model_popup_desgin">
  <tr>
    <td>Date of Creation</td>
    <td><p><asp:Label ID="Label3" runat="server" Text="Label" Visible="False"></asp:Label></p></td>
  </tr>
     <tr>
    <td>Last Updated Updated</td>
    <td><p><asp:Label ID="Label4" runat="server" Text="Label"></asp:Label></p></td>
  <td>Choose Agent</td>
      <asp:DropDownList ID="DropDownList2" runat="server" CssClass ="combobox " 
                Visible="False">
      </asp:DropDownList>
 
     
  <tr>
    <td>Add Another Agente Agent</td>
       <asp:TextBox ID="TextBox1" runat="server" Visible="False"></asp:TextBox>
  </tr>
  <tr>
    <td></td>
  </tr>
</table>

          
        </div>
        <div class="modal-footer">  <asp:Button ID="Button3" runat="server" Text="cancel" CssClass="btn btn-success" />
           </div>
      </div>
      
 </div>
       <ul id="nav" style=" text-align:right">
      <li><a href="dashboard.aspx"><img src="../images/icons/home.png" class="menu_icon">לוח בקרה</a> </li>   
       <li><a href="#"><img src="../images/icons/form.png" class="menu_icon">להשכרה</a>
        <ul>
          <li><a href="report_property_for_rent.aspx"><img src="../images/icons/tabs.png" class="menu_icon"> נכס להשכרה</a></li> <li><a href="search_property_torent.aspx"><img src="../images/icons/tabs.png" class="menu_icon"> לקוח רוצה לשכור</a></li>
        </ul></li>
        <li><a href="search_buy_property.aspx"><img src="../images/icons/form.png" class="menu_icon">לקוח רוצה לקנות</a>
       </li>
     
         <li><a href="searh_sell_property.aspx"><img src="../images/icons/form.png" class="menu_icon">נכס למכירה</a>
  
          <li><a href="#"><img src="../images/icons/std2.png" class="menu_icon"> סוכן</a>
        <ul>
          <li><a href="add_agent.aspx"><img src="../images/icons/plus.png" class="menu_icon">Agent add</a></li>
         
          <li><a href="deleteagent.aspx"> <img src="../images/icons/trash.png" class="menu_icon">Delete Agent</a></li>
          <li><a href="agentreport.aspx"><img src="../images/icons/pages.png" class="menu_icon">Agent Edit/Reports</a></li>
        </ul>
      </li>
  
      <li><a href="admin_notes.aspx"><img src="../images/icons/search.png" class="menu_icon">משימות</a>
    
      </li>
       <li><a href="#"><img src="../images/icons/id.png" class="menu_icon">פרטי חשבון</a>
        <ul>
          <li><a href="admin_account_information.aspx"><img src="../images/icons/id.png" class="menu_icon">Update Account Details</a></li>
         
          
        </ul>
      </li>
       <li><a href="messages1.aspx"><img src="../images/icons/id.png" class="menu_icon">הודעות</a>
        
      </li>
  </div>
  


   <div id="footer">
    <p> Copyright &copy; 2013. II technology</p>
  </div>

</div>
</form>
</body>
<script type="text/javascript" src="../js/zebra_datepicker.js"></script>
        <script type="text/javascript">
            $(document).ready(function () {
              
                $('#' + '<%= TextBox12.ClientID %>').Zebra_DatePicker();
            });
        
        </script>
</html>